/**
 * output package name
 */
package com.kingdee.eas.custom.hr.applyinform;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WorkTypeEnum extends StringEnum
{
    public static final String NORMAL_VALUE = "1";
    public static final String TURN_VALUE = "2";

    public static final WorkTypeEnum NORMAL = new WorkTypeEnum("NORMAL", NORMAL_VALUE);
    public static final WorkTypeEnum TURN = new WorkTypeEnum("TURN", TURN_VALUE);

    /**
     * construct function
     * @param String workTypeEnum
     */
    private WorkTypeEnum(String name, String workTypeEnum)
    {
        super(name, workTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WorkTypeEnum getEnum(String workTypeEnum)
    {
        return (WorkTypeEnum)getEnum(WorkTypeEnum.class, workTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WorkTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WorkTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WorkTypeEnum.class);
    }
}